package com.ucar.train.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * t_b_ord
 * @author 
 */
public class OrderDTO implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 客户id
     */
    private Long crmId;

    /**
     * 车牌照
     */
    private String carNumber;

    /**
     * 还车时间
     */
    private Date backTime;

    /**
     * 门店编号
     */
    private String storeCode;

    /**
     * 租赁方式
     */
    private String rent;

    /**
     * 费用
     */
    private BigDecimal cost;

    /**
     * 状态
     */
    private String state;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;


    private List<OrderDetailDTO> orderDetailDTOList;

    public List<OrderDetailDTO> getOrderDetailDTOList() {
        return orderDetailDTOList;
    }

    public void setOrderDetailDTOList(List<OrderDetailDTO> orderDetailDTOList) {
        this.orderDetailDTOList = orderDetailDTOList;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getCrmId() {
        return crmId;
    }

    public void setCrmId(Long crmId) {
        this.crmId = crmId;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public Date getBackTime() {
        return backTime;
    }

    public void setBackTime(Date backTime) {
        this.backTime = backTime;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getRent() {
        return rent;
    }

    public void setRent(String rent) {
        this.rent = rent;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "OrderDTO{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", crmId=" + crmId +
                ", carNumber='" + carNumber + '\'' +
                ", backTime=" + backTime +
                ", storeCode='" + storeCode + '\'' +
                ", rent='" + rent + '\'' +
                ", cost=" + cost +
                ", state='" + state + '\'' +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                ", orderDetailDTOList=" + orderDetailDTOList +
                '}';
    }
}